﻿using System;

namespace ZyGame
{
    public sealed class PathOptions : Attribute
    {
        [Flags]
        public enum Localtion
        {
            Project = 1 << 1,
            Packaged = 1 << 2,
            Internal = 1 << 3,
            File = 1 << 4,
        }

        public string filepath { get; }
        public Localtion localtion { get; }

        public PathOptions(string path, Localtion localtion)
        {
            this.filepath = path;
            this.localtion = localtion;
        }
    }

    public sealed class EntryOptions : Attribute
    {
        internal string mothodName;

        public EntryOptions(string methodName)
        {
            this.mothodName = mothodName;
        }
    }
}